\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}
% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc,backgrounds,}

% 额外添加
\usepackage{indentfirst}
\usepackage{diagbox}
\usepackage{amssymb}
\usepackage{pifont}

\begin{document} 
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0,fill=white}]
		\node(formula)[draw, draw=blue, dashed,anchor=north,align=left,fill=white,inner sep=0.3em] at (0,0){  
			\ding{172} \  t \ := \ NEWT; \{ \ \textcolor{blue}{申请临时变量函数}；\} \\
			\ding{173} \  SEND($\omega$\  SEN[m-1],SEM[m],t) \\
			\ding{174} \ POP;POP;PUSH(t)
		}; 
		
		\node(note1)[draw, fill=yellow!20,rectangle callout,callout relative pointer={(-0.8,0.3)},rounded corners,align=center,inner sep=0.3em] at ([xshift=3em,yshift=-0.9em]formula.south){ 语义栈\textcolor{red}{次栈顶}、\textcolor{red}{栈顶} };
		
		\node(note2)[draw, fill=yellow!20,rectangle callout,callout relative pointer={(3em,0.4em)},rounded corners,align=center,inner sep=0.3em] at ([xshift=-5em,yshift=-3em]formula.west){ \textcolor{red}{生成一个} \\ \textcolor{red}{四元式送} \\ \textcolor{red}{QT[q]} };
		
		\draw [color=red] ([xshift=8em,yshift=0em]formula.west) ellipse [x radius=2.2em, y radius=0.7em];
		\draw [color=red] ([xshift=12.7em,yshift=0em]formula.west) ellipse [x radius=2.4em, y radius=0.7em];
		
	\end{tikzpicture}
\end{document}
